package com.jiaodian.live.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author:princess
 * @Date:2024/9/24-09-24-19:24
 */
@RestController
@RequestMapping("/live")
@Slf4j
public class LiveController {
    @GetMapping("/v1/searchForAnchors")
    public String searchForAnchors(){
        log.info("是我处理的");
        return "听泉鉴宝";
    }

    @GetMapping("/v2/searchForAnchors")
    public String searchForAnchors2(){
        return "东北雨姐";
    }
}
